package com.tc.excel.enums;

/**
 * @Auther: tianchao
 * @Date: 2025/2/14 16:31
 * @Description:
 */
public enum ExcelContentType {

    XLS("xls","application/vnd.ms-excel"),
    XLSX("xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),
    ;

    private String suffix;

    private String contentType;

    ExcelContentType(String suffix, String contentType) {
        this.suffix = suffix;
        this.contentType = contentType;
    }

    public String getSuffix() {
        return suffix;
    }

    public String getContentType() {
        return contentType;
    }
}
